package service.exception;

public class ActorException extends Exception {

    /**
     * 
     */
    private static final long serialVersionUID = -7751452284406976150L;

    public enum CODE {
        UNKNOWN,
        INVALIDE_PARAMETER
    }

    public CODE mCode;

    public ActorException(CODE code) {
        super(code.toString());
        this.mCode = code;
    }

    public ActorException(CODE code, Exception e) {
        super(e);
        this.mCode = code;
    }
}
